import { cmsRequest } from '@/request'

export const fetchCategoryList = (payload: any) => {
  return cmsRequest.post('/plant/studentCategory/queryCategoryList', payload)
}
export const fetchCategoryCreateOrUpdate = (payload: any) => {
  return cmsRequest.post('/plant/studentCategory/createOrUpdateCategory', payload)
}


export const fetchStudentCreateOrUpdate = (payload: any) => {
  return cmsRequest.post('/plant/studentCategory/createOrUpdateStudent', payload)
}
export const fetchStudentList = (payload: any) => {
  return cmsRequest.post('/plant/studentCategory/queryStudentList', payload)
}

export const fetchStudentDel = (id: number) => {
  return cmsRequest.delete(`/plant/studentCategory/${id}`)
}



